/*
 *
 * Saturn Framework Co.Limt
 * Copyright (c) 2012-2019 tanks, Inc. All rights reserved.
 */
 
package com.saturn.config.server.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.saturn.config.server.base.dto.ConfigInfo;
import com.saturn.config.server.base.dto.ConfigLogDto;
import com.saturn.config.server.base.entity.ConfigLog;

/**
 * <dl>
 *    <dt><b>Title:</b></dt>
 *    <dd>
 *    	none
 *    </dd>
 *    <dt><b>Description:</b></dt>
 *    <dd>
 *    	<p>配置操作日志表
 *    </dd>
 *
 * @author tanks
 * @date 2019-07-08 15:58:43
 */
public interface ConfigLogService extends IService<ConfigLog> {
	
	/**
     * 翻页查询，自定义查询
     *
     * @param page  翻页对象
     * @param queryWrapper 实体对象封装操作类 {@link com.baomidou.mybatisplus.core.conditions.query.QueryWrapper}
     */
    IPage<ConfigLogDto> queryPage(IPage<ConfigLogDto> page, Map<String,Object> params);

    /**
     * 查询未广播的信息
     * @return
     */
	public List<ConfigInfo> queryBroadcastConfigInfos();
	
	/**
     * 查询未广播的配置应用名称
     * @return
     */
	public List<ConfigInfo> queryCastApplicationName();
	
	/**
	 * 更新广播信息
	 */
	public void updateCast();
}
